package com.sevens.vo;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String useraccount;
	private Integer state;
	private String password;
	private Integer jobnumber;
	private String username;
	private String gender;
	private String position;
	private String department;
	private String telephone;
	private String cellphone;
	private String useremail;
	private Integer roleId;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String useraccount, Integer state, String password,
			Integer jobnumber, String username, Integer roleId) {
		this.useraccount = useraccount;
		this.state = state;
		this.password = password;
		this.jobnumber = jobnumber;
		this.username = username;
		this.roleId = roleId;
	}

	/** full constructor */
	public User(String useraccount, Integer state, String password,
			Integer jobnumber, String username, String gender, String position,
			String department, String telephone, String cellphone,
			String useremail, Integer roleId) {
		this.useraccount = useraccount;
		this.state = state;
		this.password = password;
		this.jobnumber = jobnumber;
		this.username = username;
		this.gender = gender;
		this.position = position;
		this.department = department;
		this.telephone = telephone;
		this.cellphone = cellphone;
		this.useremail = useremail;
		this.roleId = roleId;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUseraccount() {
		return this.useraccount;
	}

	public void setUseraccount(String useraccount) {
		this.useraccount = useraccount;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getJobnumber() {
		return this.jobnumber;
	}

	public void setJobnumber(Integer jobnumber) {
		this.jobnumber = jobnumber;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getDepartment() {
		return this.department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getCellphone() {
		return this.cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getUseremail() {
		return this.useremail;
	}

	public void setUseremail(String useremail) {
		this.useremail = useremail;
	}

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

}